package com.xyy.saas.payment.adpater.jdCredit.resp;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 借据信息
 *
 * @author yuchengying
 * @date 2023/12/19
 */
@Data
public class LoanInfoResponse {
    /**
     * 借款单号
     */
    private String orderCode;
    /**
     * 借款合同号
     */
    private String contractNo;
    /**
     * 借款金额
     */
    private BigDecimal loanAmount;
    /**
     * 借款期数
     */
    private Integer totalPlan;

    /**
     * 借款单状态
     */
    private String loanStatus;

    /**
     * 日利率
     */
    private String dayRate;

    /**
     * 年利率
     */
    private String yearRate;
    /**
     * 已还金额
     */
    private AmountItemDTO paidAmountItem;

    /**
     * 当前应还金额
     * @since 2020-11-03
     */
    private AmountItemDTO currUnPayAmountItem;

    /**
     * 到期应还金额
     * @since 2020-11-03
     */
    private AmountItemDTO dueUnPayAmountItem;

    /**
     * 提前结清时金额
     * @since 2020-11-03
     */
    private AmountItemDTO perSettleAmountItem;
    /**
     * 还款计划
     */
    private List<RepayPlan> repayPlanList;
}
